/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.ismaila.designPatterns.behavioural.visitor;

/**
 *
 * @author Chelsea
 */
public class TwoElement implements NumberElement{
int a;
int b;
public TwoElement(int a,int b){
this.a=a;
this.b=b;
}
@Override
public String accept(NumberVisitor visitor){
    String accept;
    accept = visitor.visit(this);
    return accept;
}

}
